{% extends 'blogobj/layout.html' %}
{% import 'blogobj/helper.html' as helper %}
{% block blog_header %}
    <section class="all_page_slider_bg">
        <div class="container">
            <div class="row">
                <div class="col-xs-12">
                    <div class="normal_service_text all_page_slider_text">
                        <h2>博客</h2>
                        <ol class="breadcrumb">
                            <li><a href="{{ url_for('.blog_index') }}">首页</a><span></span></li>
                            <li class="active"><a href="#">博客首页</a></li>
                        </ol>
                    </div>
                </div><!-- column End -->
            </div><!-- row End -->
        </div><!-- container End -->
    </section>
{% endblock %}
{% block styles %}

{% endblock %}

{% block main_content %}
    <div class="col-md-offset-1 col-sm-8">

        <div class="blog_left_comments">
            {#            <h3>博客首页</h3>#}
            {% for art in arts %}
                <div class="single_comment">
                    <div class="comment_img">
                        <img src="/blogobj/images/title-icon1.jpg" alt="图标" height="80px" width="80px">
                    </div>
                    <div class="comment_text">
                        <h5>{{ art.title }}</h5>
                        <h6>{{ art.releasetime.strftime('%Y-%m-%d %H:%M:%S') }}</h6>
                        <p>{{ art.preface }}</p>
                        <div class="comment_reply">
                            <a href="{{ url_for('.blog_detail', id=art.id) }}">详情...</a>
                        </div>
                    </div>
                </div>
            {% endfor %}
{#            {{ helper.render_admin_page(arts, '.blog_index') }}#}


            <!-- single_comment End -->
            {#            <div class="single_comment">#}
            {#                <div class="comment_img">#}
            {#                    <img src="/blogobj/images/pages/comment2.jpg" alt="">#}
            {#                </div>#}
            {#                <div class="comment_text">#}
            {#                    <h5>Fahim Reza</h5>#}
            {#                    <h6>02 JUNE 2016</h6>#}
            {#                    <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel#}
            {#                        illum dolore eu feugi nulla facilisis at vero eros et accumsan et iusto odio dignissim qui#}
            {#                        blandit praesent luptatum.</p>#}
            {#                    <div class="comment_reply">#}
            {#                        <a href="#">reply</a>#}
            {#                    </div>#}
            {#                </div>#}
            {#            </div>#}
            <!-- single_comment End -->
        </div>

{% endblock %}

{% block scripts %}

{% endblock %}